<?php

namespace App\Repositories\Transformers;

use App\Models\Branch;
use League\Fractal\TransformerAbstract;

class BranchListTransformer extends TransformerAbstract
{
    public function transform(Branch $branch)
    {
        return [
            'id' => $branch->id,
            'name' => $branch->name,
            'image' => $branch->image,
            // 'business_hours' => $branch->business_hours,
            // 'address' => $branch->address,
            // 'map' => $branch->map,
        ];
    }
}
